// 数据库
import { type PoolOptions } from 'mysql2';

export const DATA_BASE: PoolOptions = {
  host: 'localhost',
  user: 'root',
  password: 'liu123fang@..',
  database: 'liu-nest-server',
};

export const AUTH_PUB_KEY = 'isPublic';

export const JWT_SECRER_KEY: string = 'my-secret-key';

export const JWT_EXPIRES: number = 1000 * 60 * 60 * 24 * 30;

export const SALT_ROUNDS = 10;
